package com.woniuxy.carlife.carlifecomprehensiveweb.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName: RescueParam
 * @ Description:（接收前端传入救援信息）
 * @author: yanzhongliang     
 * @date: Update in 12:16 2021/4/15
 */

@Data
@ApiModel(value="前端录入救援信息对象")
public class RescueParam {
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    @ApiModelProperty(value = "救援时间",dataType = "Date",example = "2020-02-05 13:30:41")
    private Date rescueTime;

    @ApiModelProperty(value = "救援的车主的车牌号",dataType = "String",example = "渝A166411")
    private String rescueLicense;

    @ApiModelProperty(value = "救援的车主电话",dataType = "String",example = "16766494945")
    private String rescuePhone;

    @ApiModelProperty(value = "被救援的车主名",dataType = "String",example = "彭于晏")
    private String rescueUserName;

    @ApiModelProperty(value = "救援现场图片",dataType = "String",example = "http://124.71.165.120:9000/store/2021/4/15/1618454784384.png")
    private String rescueImage;

    @ApiModelProperty(value = "救援的地址",dataType = "String",example = "重庆市大渡口区双山路165号")
    private String rescueAddress;

    @ApiModelProperty(value = "救援收费",dataType = "BigDecimal",example = "1566.46")
    private BigDecimal rescuePrice;

    @ApiModelProperty(value = "被救援车型",dataType = "String",example = "宝骏5S")
    private String rescueVehicle;

    @ApiModelProperty(value = "救援门店名",dataType = "String",example = "长江汽修")
    private String rescueStore;

    @ApiModelProperty(value = "救援门店电话",dataType = "String",example = "16463346463")
    private String rescueStorePhone;

    @ApiModelProperty(value = "救援地址精度",dataType = "BigDecimal",example = "64633.1")
    private BigDecimal rescuePrecision;

    @ApiModelProperty(value = "救援地址纬度",dataType = "BigDecimal",example = "64633.1")
    private BigDecimal rescueLatitude;
}
